﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="He.Web.manage.member.edit" %>
<%@ Register Src="../_uc/head_edit.ascx" TagPrefix="uc" TagName="head_edit" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>编辑会员</title>
<uc:head runat="server" ID="uchead" />
<uc:head_edit runat="server" ID="uchead_edit" />
</head>
<body>
<form id="form1" runat="server">
  <div class="navigation"> <span class="back"><a href="list.aspx">返回管理列表</a></span> <b>您当前的位置：首页 &gt; 互动模块 &gt;
    编辑会员</b> </div>
  <div class="spClear"> </div>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
    <tr>
      <th colspan="2" align="left"> 编辑会员 </th>
    </tr>
    <%if (action == He.Web.UI.Enums.ActionEnum.Edit.ToString())
          { %>
    <tr>
      <td align="right" width="25%"> 用户名： </td>
      <td><asp:Label ID="lbUserName" runat="server"></asp:Label></td>
    </tr>
    <tr>
      <td align="right"> 最近登录时间： </td>
      <td><asp:Label ID="lbThisTime" runat="server"></asp:Label></td>
    </tr>
    <tr>
      <td align="right"> 最近登录IP： </td>
      <td><asp:Label ID="lbThisIp" runat="server"></asp:Label></td>
    </tr>
    <tr>
      <td align="right"> 注册时间： </td>
      <td><asp:Label ID="lbRegTime" runat="server"></asp:Label></td>
    </tr>
    <%} %>
    <%if (action == He.Web.UI.Enums.ActionEnum.Add.ToString())
          { %>
    <tr>
      <td align="right" width="25%"> 用户名： </td>
      <td><asp:TextBox ID="txtUserName" runat="server" CssClass="input w250 required" MaxLength="250"
                    HintTitle="会员用户名" HintInfo="会员用户名。"></asp:TextBox></td>
    </tr>
    <%} %>
    <tr>
      <td align="right">会员等级</td>
      <td><asp:DropDownList ID="ddlRankId" runat="server" CssClass="select required" ></asp:DropDownList></td>
    </tr>
    <tr>
      <td align="right"> Email： </td>
      <td><asp:TextBox ID="txtEmail" runat="server" CssClass="input w250 email" MaxLength="250"
                    HintTitle="会员邮箱地址" HintInfo="会员邮箱地址。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 昵称： </td>
      <td><asp:TextBox ID="txtNickame" runat="server" CssClass="input w250" MaxLength="250"
                    HintTitle="会员昵称" HintInfo="会员昵称。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 性别： </td>
      <td><asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal">
          <asp:ListItem Value="男" Selected="True">男</asp:ListItem>
          <asp:ListItem Value="女">女</asp:ListItem>
          <asp:ListItem Value="保密">保密</asp:ListItem>
        </asp:RadioButtonList></td>
    </tr>
    <tr>
      <td align="right"> 生日： </td>
      <td><asp:TextBox ID="txtBirthday" runat="server" CssClass="input w250" MaxLength="250"
                    HintTitle="会员生日" HintInfo="会员生日。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 联系电话： </td>
      <td><asp:TextBox ID="txtTel" runat="server" CssClass="input w250" MaxLength="250" HintTitle="会员联系电话"
                    HintInfo="会员联系电话。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 手机号码： </td>
      <td><asp:TextBox ID="txtPhone" runat="server" CssClass="input w250" MaxLength="250" HintTitle="会员手机号码"
                    HintInfo="会员手机号码。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> QQ： </td>
      <td><asp:TextBox ID="txtQQ" runat="server" CssClass="input w250" MaxLength="250" HintTitle="会员QQ"
                    HintInfo="会员QQ。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 地址： </td>
      <td><asp:TextBox ID="txtAddress" runat="server" CssClass="input w250" MaxLength="250"
                    HintTitle="会员地址" HintInfo="会员地址。"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 会员状态： </td>
      <td><asp:RadioButtonList ID="rblStatus" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
                    CssClass="required"> </asp:RadioButtonList></td>
    </tr>
    <%if (action == He.Web.UI.Enums.ActionEnum.Add.ToString())
          {%>
    <tr>
      <td align="right"> 登录密码： </td>
      <td><asp:TextBox ID="txtUserPwd" runat="server" CssClass="input required w250" size="25"
                    minLength="6" MaxLength="50" HintTitle="登录密码" HintInfo="大于6个字符，小于50个字符，必须是字母或数字或下划线的组合。"
                    TextMode="Password"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right"> 密码确认： </td>
      <td><asp:TextBox ID="txtUserPwd2" runat="server" CssClass="input required w250" size="25"
                    minLength="6" MaxLength="50" equalTo="#txtUserPwd" HintTitle="再次输入密码" HintInfo="请再次输入密码，大于6个字符，小于50个字符，必须与登录密码一致。"
                    TextMode="Password"></asp:TextBox></td>
    </tr>
    <%} %>
    <tr>
      <td align="right"> 备注： </td>
      <td><asp:TextBox ID="txtRemark" runat="server" CssClass="textarea wh380" HintTitle="备注" HintInfo="备注信息" TextMode="MultiLine"></asp:TextBox></td>
    </tr>
  </table>
  <div style="margin-top: 10px; text-align: center;">
    <asp:Button ID="btnSave" runat="server" Text="确 认 保 存" CssClass="submit" OnClick="btnSave_Click" />
  </div>
</form>
</body>
</html>
